<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

function runTest() {
    var d = window[0].document;
    var i = d.createElement("iframe");
    d.body.appendChild(i);
    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
<body onload='runTest();'>
<iframe src='resources/force-encoding-detection.html'>
